package com.smartmedical.patient.sickcricle.service;

import com.smartmedical.common.core.domain.HealthR;
import com.smartmedical.patient.sickcricle.domain.SickCircle;
import com.smartmedical.patient.sickcricle.domain.SickCircleCount;
import com.smartmedical.patient.sickcricle.vo.SickCircleCommentVo;
import com.smartmedical.patient.sickcricle.vo.SickCirclePublishVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface SickCollectionService {
    HealthR publishComment(Integer sickCircleId, String content);

    HealthR adoptionProposal(Integer sickCircleId, Integer commentId);

    HealthR<Integer> addUserSickCollection(SickCircleCount sickCircleCount);

    HealthR<Integer> cancelSickCollection(SickCircleCount sickCircleCount);

    HealthR<List<SickCirclePublishVo>> findMySickCircleList(Integer page, Integer count);


    HealthR<List<SickCircleCommentVo>> findSickCircleCommentList(Integer sickCircleId, Integer page, Integer count);

    HealthR publishSickCircle(SickCircle sickCircle);

    HealthR expressOpinion(Integer commentId,Integer opinion);


    HealthR uploadSickCirclePicture(Integer sickCircleId, MultipartFile picture);
}
